<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
.register-panel{
	margin-top:120px;
}
</style>
<title>用户注册</title>
</head>
<body>
	<div class="container">
		<div class="panel panel-default col-md-offset-2 col-md-6 regist-panel">
			<div class="pannel-heading">用户注册</div>
			<div class="pannel-body">
				<form class="pannel-horizontal" action="./upload.do" method="post" enctype="multipart/form-data">
				<div class="form-group">
					<label class="control-label col-md-4">用户名</label>
					<div class="col-md-8">
						<input type="text" class="from-control" name="username">
					</div>
				</div>
				<div class="from-group">
					<label class="col-md-4 control-label">密码</label>
					<div class="col-md-8">
						<input type="password" class="from-control" name="pwd">
					</div>
				</div>
				<div class="from-group">
					<label class="col-md-4 control-label">重新输入密码</label>
					<div class="col-md-8">
						<input type="password" class="from-control" name="repassword">
					</div>
				</div>
				<div class="from-group">
					<label class="col-md-4 conrtol-label">性别</label>
					<div class="radio col-md-8">
						<label class="radio col-md-8">
							<input type="radio" name="sex" value="M"/>男
						</label>
						<label class="radio col-md-8">
							<input type="radio" name="sex" value="F"/>女
						</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-8">上传照片</label>
					<input type="file" name="file">
				</div>
			<div class="form-group">
				<label class="control-lable col-md">兴趣爱好</label>
				<div class="col-md-8">
				<select multiple name="interests" > 
  					<option value="value1">音乐</option> 
 					<option value="value2" selected>游戏</option>
  					<option value="value3">电影</option>
				</select>
				</div>
			</div>
				<div class="form-group">
					<div class="col-md-offset-4 col-md-4">
						<button type="submit" class="btn btn-primary btn-block">提交</button>
					</div>
				</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>